package com.qf.service;

import com.qf.pojo.BaseResp;

import com.qf.pojo.User;
import com.qf.pojo.UserReq;

import javax.servlet.http.HttpServletRequest;

public interface UserService {

    public BaseResp registry(UserReq userReq, HttpServletRequest request);

    public BaseResp sendEmail(String email, HttpServletRequest request);

    public BaseResp login(User user);

    BaseResp updateemail(String email, HttpServletRequest request);

    BaseResp del(Integer id);

    BaseResp updatepassword(UserReq userReq, HttpServletRequest request);

    BaseResp findOne(Integer id );

    BaseResp update(User user);

    BaseResp getUser(String name);

    BaseResp findphone(String phone,String code);

}
